package com.anxin.act.process.entity;

import com.anxin.sys.system.entity.SysMenu;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.anxin.framework.aspectj.lang.annotation.Excel;
import com.anxin.framework.web.entity.BaseEntity;

/**
 * 菜单流程配置对象 wf_menu_process
 *
 * @author jbs
 * @date 2020-03-10
 */
public class WfMenuProcess extends BaseEntity<WfMenuProcess>{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 菜单I */
    private SysMenu menu;

    /** 流程定义的key */
    private String procDefKey;

    /** 流程定义的名称 */
    private String procDefName;

    // 查询参数-菜单名称
    private String menuName;

    // 待办表单组件地址
    private String actFormPath;

    //表单类型
    private String formType;

    //使用表单
    private String formId;

    //使用表单的数据库表名
    private String formTableName;


    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public void setId(String id){
        this.id = id;
    }

    public String getId(){
        return id;
    }

    public SysMenu getMenu() {
        return menu;
    }

    public void setMenu(SysMenu menu) {
        this.menu = menu;
    }

    public void setProcDefKey(String procDefKey){
        this.procDefKey = procDefKey;
    }

    public String getProcDefKey(){
        return procDefKey;
    }

    public String getProcDefName() {
        return procDefName;
    }

    public void setProcDefName(String procDefName) {
        this.procDefName = procDefName;
    }

    public String getActFormPath() {
        return actFormPath;
    }

    public void setActFormPath(String actFormPath) {
        this.actFormPath = actFormPath;
    }

    public String getFormType() {
        return formType;
    }

    public void setFormType(String formType) {
        this.formType = formType;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public String getFormTableName() {
        return formTableName;
    }

    public void setFormTableName(String formTableName) {
        this.formTableName = formTableName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("procDefKey", getProcDefKey())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
